package com.xh.bussiness.exam.dao;

import com.xh.bussiness.exam.bean.request.StudentErrorTotalStatRequest;
import com.xh.bussiness.exam.model.PaperQuestionTestDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 试卷测试明细 Mapper 接口
 * </p>
 *
 * @author daiwei
 * @since 2019-02-23
 */
public interface PaperQuestionTestDetailMapper extends BaseMapper<PaperQuestionTestDetail> {

    /**
     * 错题练习统计
     * @param bean
     * @return
     */
    List<Map<String, Object>> queryStudentTestDetailByGradeTypeAndSubject(@Param("bean") StudentErrorTotalStatRequest bean);

}
